package com.xdf.xzymanagementsystem.dao;

import org.springframework.stereotype.Repository;

import java.util.List;

import com.xdf.xzymanagementsystem.entity.CurrencyType;
import org.apache.ibatis.annotations.Param;
import com.xdf.xzymanagementsystem.util.Example;

/**
 * @Description : 币种
 * @Author : 张柯
 * @Date : 2021-04-14 09:25:22
 */
@Repository
public interface CurrencyTypeMapper {
    int insert(CurrencyType record);

    int insertSelective(CurrencyType record);

    int multiInsert(List<CurrencyType> list);

    int insertDumplicateKeyUpdate(CurrencyType record);

    int updateByPrimaryKey(CurrencyType record);

    int updateByPrimaryKeySelective(CurrencyType record);

    int multiUpdate(List<CurrencyType> list);

    int deleteByPrimaryKey(String id);

    CurrencyType selectByPrimaryKey(String id);

    List<CurrencyType> selectAll();

    List<CurrencyType> selectByParam(CurrencyType record);

    int updateByExampleSelective(@Param("record") CurrencyType record, @Param("example") Example example);

    int deleteByExample(@Param("example") Example example);

    List<CurrencyType> selectByExample(@Param("example") Example example);

    int insertByExampleSelective(@Param("record") CurrencyType record, @Param("example") Example example);

    long countByExample(@Param("example") Example example);

}